<template>
	<el-input placeholder="请输入关键字">
		<template #append>
			<el-button :icon="Search" @click="query()" />
		</template>
	</el-input>
</template>
<script setup lang="ts" name="KeyQuery">
import { Search } from '@element-plus/icons-vue'

const emit = defineEmits(['getDataList'])

const query = () => {
	emit('getDataList')
}
</script>
<style lang="scss" scoped></style>
